G Values for IANAAppCodePage Connection String Attribute

You need to set the ODBC Client IANAAppCodePage connection string attribute (see "Connecting Using a Connection String") if your application is not Unicode-enabled and/or if your database character set is not Unicode. The value you specify must match the database character encoding and the system locale. See "Internationalization, Localization, and Unicode" for information about Unicode.

To determine the correct numeric value (the MIBenum value) for the IANAAppCodePage connection string attribute, use the ivcheckcp utility (see "Using the ivcheckcp Utility").

Alternatively, do the following:

  1. Determine the code page of your database.
  2. Determine the MIBenum value that corresponds to your database code page. You can check the value at:
  3. http://www.iana.org/assignments/character-sets

    On this web page, search for the name of your database code page. This name will be listed as an alias or the name of a character set and will have a MIBenum value associated with it.

  4. Check Table G-1 to make sure that the MIBenum value you looked up on the IANA Web page is supported by ODBC Client. If the value is not listed, contact SupportLink to request that support for that value be added.

The appendix contains the following sections: